<%@ page contentType="text/html;charset=UTF-8" %>
<%@ include file="/common/taglibs.jsp"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<title>cms,welcome you!</title>
	<%@ include file="/common/meta.jsp"%>
	<%@ include file="/common/common.jsp"%>
	<script src="${ctx}/js/iframeheight.js" type="text/javascript"></script>
	<script>
	function showSelectSite(){
			$$.shade("#nouse","#btn","#dude"); 
	}
	
	 function  formsubmit(siteid,sitename){
	     $("#site_form").attr("action","${ctx}/go.action");
	     $("#site_form").append("<input type='hidden' name='site.siteId'  value='"+siteid+"'>");
	     $("#site_form").append("<input type='hidden' name='site.siteName'  value='"+sitename+"'>");
	     $("#site_form").submit();  
	 }
	</script>
</head>
<body style="margin:0px;" id="indexframe">
<input type="hidden" id="nouse"/>
<div id='dude' class='lightbox'>
	<div class="lighttit"><p><span><strong>选择需操作的站点</strong></span></p><input type="button" id="btn" class="lightclose" value="close" /></div>
	<div id="site_info" bgcolor='009900'>
		 <s:form id="site_form" target="_top" method="post">
		 <div id="f_line"></div>
		 	<div class='li_box'>
		 	
		 	<ul>
		 	<s:iterator value="%{#session['currentSites']}">
		 	<li><a href="javascript:formsubmit('<s:property value="siteId"/>','<s:property value="siteName"/>')"><s:property value="siteName"/></a></li>
		 	</s:iterator>
		 	</ul>
		 	<div class="clear"></div>
		 	</div>
		 </s:form>
	</div>	 
</div
<div id="header">
<iframe width=100%  frameborder=0 id="iframeheader" height=80  src="header.action" name="header" scrolling="no" noresize></iframe>
</div>
<div id="middle">
	<table>
		<tr>
			<td id="menu" valign="top"  width="50"><iframe src="lefttree.action" scrolling=no width=50  frameborder=0 id="leftframe"  name="leftframe" height=600></iframe></td>
			<td id="main" valign="top"  width="100%"><iframe src="main.action" scrolling=no width=100%  frameborder=0  id="mainaction"  name="mainframe" height=600 onLoad="iframeheight()"></iframe></td>
		</tr>
	</table>         
</div>
</body>
</html>
 